package cn.gok.oa.system.service;

import cn.gok.oa.system.dto.RoleDto;
import cn.gok.oa.system.dto.RoleListDto;
import cn.gok.oa.system.entity.TbRole;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gok
 * @since 2022-08-04
 */
public interface ITbRoleService extends IService<TbRole> {

    IPage<TbRole> info(RoleListDto roleListDto);

    void addRole(RoleDto roleDto, HttpServletRequest httpServletRequest);

    void deleteRole(Integer roleId, HttpServletRequest httpServletRequest);

    void updateRole(RoleDto roleDto, HttpServletRequest httpServletRequest);

}
